 <#if (sitePagination.totalSize < 1)>
<div class="alert fade in">
	<button type="button" class="close" data-dismiss="alert">&times;</button>
	<h4 class="alert-heading">没有查询到数据</h4>
</div>
<#else>
<table
	class="table table-condensed table-hover table-bordered table-striped box">
	<thead>
		<tr>
			<th style="width: 40px"><input type="checkbox"
				name="mainCheckbox"></th>
			<th>编号</th>
			<th>名称</th>
			<th>默认状态</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<#list sitePagination.dataList as siteRow>
		<tr>
			<td><label><input type="checkbox" name="dictionaryTy.ids"
					value="${siteRow.ID!}" title="${siteRow.RN!}"> </label></td>
			<td>${siteRow.CODE!}</td>
			<td class="center">${siteRow.NAME!}</td>
			<td class="center"><#if siteRow.DEFAULT_COUNT == 0> <span
				class="label label-info">${siteRow.DEFAULT_NA!}</span> <#else> <span
				class="label label-success">${siteRow.DEFAULT_NA!}</span> </#if>
			</td>
			<td class="center"><a class="btn btn-success btn-xs autoShowIframe"
				href="${(fand.webContextUrl)!}/admin/configuration/dictionary/dictionaryTy/view.htm?id=${siteRow.ID!}">
					<i class="icon-zoom-in icon-white"></i> 查看
			</a> <a class="btn btn-info btn-xs autoShowIframe"
				href="${(fand.webContextUrl)!}/admin/configuration/dictionary/dictionaryTy/edit.htm?id=${siteRow.ID!}">
					<i class="icon-edit icon-white"></i> 编辑
			</a></td>
		</tr>
		</#list>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="5">
				<div class="pull-right">
					<ul class="pagination">
						<#if (sitePagination.hasFirstNo)>
						<li><a href="#paginationNo_1" title="第一页" paginationNo="1"><i
								class="icon-fast-backward"></i></a></li>
						<li><a href="#paginationNo_${sitePagination.previousNo!}"
							paginationNo="${sitePagination.previousNo!}">上一页</a></li> </#if>

						<#list sitePagination.nos as no> <#if sitePagination.no == no>
						<li class="active"><a href="#paginationNo_${no!}"
							paginationNo="${no!}">${no!}</a></li> <#else>
						<li><a href="#paginationNo_${no!}" paginationNo="${no!}">${no!}</a></li>
						</#if> </#list> <#if (sitePagination.hasNextNo)>
						<li><a href="#paginationNo_${sitePagination.nextNo!}"
							paginationNo="${sitePagination.nextNo!}">下一页</a></li> </#if> <#if
						(sitePagination.hasLastNo)>
						<li><a href="#paginationNo_${sitePagination.totalNo!}"
							title="最后一页" paginationNo="${sitePagination.totalNo!}"><i
								class="icon-fast-forward"></i></a></li> </#if>
						<li><input type="number" min="1"
							max="${sitePagination.totalNo}" class="form-control"
							id="sitePaginationNo"></li>
						<li><a href="#sitePaginationNo">Go</a></li>
					</ul>
				</div>
				<div class="pagination pull-left">${sitePagination.totalSize!}条数据，${sitePagination.totalNo!}页，当前第${sitePagination.no!}页</div>
			</td>
		</tr>
	</tfoot>
</table>
</#if>
